package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业异常名录
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exceptionlist")
@ApiModel(value="ExceptionlistEntity对象", description="企业异常名录")
public class ExceptionlistEntity extends Model<ExceptionlistEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "统一信用代码")
    private String creditcode;

    @ApiModelProperty(value = "列入原因")
    @TableField("excepInReason")
    private String excepinreason;

    @ApiModelProperty(value = "列入日期")
    @TableField("excepInDate")
    private String excepindate;

    @ApiModelProperty(value = "列入机关名称")
    @TableField("excepInRegOrg")
    private String excepinregorg;

    @ApiModelProperty(value = "退出异常名录原因")
    @TableField("excepOutReason")
    private String excepoutreason;

    @ApiModelProperty(value = "移出日期")
    @TableField("excepOutDate")
    private String excepoutdate;

    @ApiModelProperty(value = "移出机关名称")
    @TableField("excepOutRegOrg")
    private String excepoutregorg;

    @ApiModelProperty(value = "经营异常总数量")
    @TableField("excepAmount")
    private String excepamount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
